//
//  POPMenu.h
//  彩宝宝
//
//  Created by xh on 15/7/16.
//  Copyright (c) 2015年 com.caibb. All rights reserved.
//

#import <UIKit/UIKit.h>
@class POPMenu;

@protocol POPMenuDelegate <NSObject>
@optional
- (void)dropdownMenuDidDismiss:(POPMenu *)menu;
- (void)dropdownMenuDidShow:(POPMenu *)menu;
@end


@interface POPMenu : UIView

@property (nonatomic, weak) id<POPMenuDelegate> delegate;

@property(nonatomic,assign)BOOL isClick;
+ (instancetype)menu;

/**
 *  显示
 */
- (void)showFrom:(UIView *)from;
/**
 *  销毁
 */
- (void)dismiss;

/**
 *  内容
 */
@property (nonatomic, strong) UIView *content;
@property (nonatomic, strong) UIView *content1;


/**
 *  内容
 */
@property (nonatomic, strong) UIView *contentHead;
@property(nonatomic,assign)NSInteger contentHeadInt;
@property (nonatomic, strong) UIView *contentHead1;


/**
 *  内容控制器
 */
@property (nonatomic, strong) UIViewController *contentController;

@property (nonatomic, strong) UIViewController *contentController1;
@end
